From 5995cdb370cd85f6d1b2b26696b15e3790515bd1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 16 Oct 2009 16:40:18 +0200 Subject: [PATCH] Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter --- docs/tools/shooter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index 95555ecd10..f8df8b5753 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -205,7 +205,9 @@ int main (int argc, char **argv) window = info->window->window; gtk_widget_show_now (info->window); - gtk_widget_draw (info->window, &(info->window->allocation)); + gtk_widget_queue_draw_area (info->window, + info->window->allocation.x, info->window->allocation.y, + info->window->allocation.width, info->window->allocation.height); while (gtk_events_pending ()) { -- 2.30.2